﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BestCode.Creds.Entities
{
    public class Attachment : EntityId
    {
        private string fileName ;
        private byte[] mediaContent ;
        //public FaceEnum Face ;
        private string extensionType ;

        public virtual string FileName
        {
            get { return fileName; }
            set
            {
                fileName = value;
                this.FirePropertyChanged("FileName");
            }
        }

        public virtual byte[] MediaContent
        {
            get { return mediaContent; }
            set
            {
                mediaContent = value;
                this.FirePropertyChanged("MediaContent");
            }
        }

        public virtual string ExtensionType
        {
            get { return extensionType; }
            set
            {
                extensionType = value;
                this.FirePropertyChanged("ExtensionType");
            }
        }

    }
}
